<?php /* Smarty version 2.6.18, created on 2009-05-21 09:16:20
         compiled from ua-admin/company_index.html */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('function', 'html_options', 'ua-admin/company_index.html', 49, false),array('function', 'cycle', 'ua-admin/company_index.html', 89, false),array('modifier', 'default', 'ua-admin/company_index.html', 62, false),array('modifier', 'truncate', 'ua-admin/company_index.html', 91, false),array('modifier', 'date_format', 'ua-admin/company_index.html', 97, false),)), $this); ?>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $this->_tpl_vars['Charset']; ?>
">
<title>控制台_<?php echo $this->_tpl_vars['sitetitle']; ?>
</title>
<link rel="stylesheet" type="text/css" href="css/main.css">
<link rel="stylesheet" type="text/css" href="<?php echo $this->_tpl_vars['CSS_PATH']; ?>
css/style.css">
<script src="<?php echo $this->_tpl_vars['JS_PATH']; ?>
js/prototype.js"></script>
<script language="javascript" src="<?php echo $this->_tpl_vars['JS_PATH']; ?>
js/popcalendar.js"></script>
<script language="javascript" src="<?php echo $this->_tpl_vars['JS_PATH']; ?>
js/general.js"></script>
<script src="<?php echo $this->_tpl_vars['JS_PATH']; ?>
js/mixselect.js"></script>
<script language="javascript" src="<?php echo $this->_tpl_vars['JS_PATH']; ?>
js/admin.js"></script>
</script>
</head>

<body>
<a name="top" />
<!-- 位置 -->
<table width="100%" border="0" cellpadding="2" cellspacing="6"><tr><td><table width="100%" border="0" cellpadding="0" cellspacing="0" class="guide">
<tr><td>
<div align="left"><a href="#" onClick="parent.main.location='home.php';return false;">控制台</a>&nbsp;&raquo;&nbsp;公司库管理</div></td></tr>
</table>
<br />

<!-- 搜索 -->
<table width="100%" border="0" cellpadding="0" cellspacing="0" class="tableborder">
<tr class="header"><td><div align="left">搜索</td>
  <td>&nbsp;</td>
  <td>&nbsp;</td>
  <td>&nbsp;</td>
  <td>&nbsp;</td>
  <td>&nbsp;</td>
  <td><div style="float:right; margin-right:4px; padding-bottom:9px"> <img onClick="collapse_change('2')" id="menuimg_2" src="./images/menu_reduce.gif" border="0" style="vertical-align:middle;"/></div></td>
</tr>
<form name="searchfrm" method="post" action="company.php?action=list&type=search">
<tbody id="menu_2" style="display: yes">
<tr>
  <td width="9%">用户名称:</td>
  <td width="15%"><input name="member[username]" type="text" id="username" size="15" value="<?php echo $_POST['member']['username']; ?>
"></td>
  <td width="10%">公司名称:</td>
  <td><input name="company[name]" type="text" id="companyname" size="25" value="<?php echo $_POST['company']['name']; ?>
"></td>
  <td>&nbsp;</td>
  <td>&nbsp;</td>
  <td>&nbsp;</td>
</tr>
<tr>
  <td>企业类型:</td>
  <td><select name="companytype" id="companytype">
    <option value="-1">请选择</option>
    <?php echo smarty_function_html_options(array('options' => $this->_tpl_vars['CompanyTypes'],'selected' => $this->_tpl_vars['smaty']['post']['companytype']), $this);?>

  </select></td>
  <td>审核状态</td>
  <td><select name="companystatus" id="companystatus">
    <option value="-1">请选择</option>
    <?php echo smarty_function_html_options(array('options' => $this->_tpl_vars['CompanyStatus'],'selected' => $this->_tpl_vars['smaty']['post']['companystatus']), $this);?>

  </select></td>
  <td>&nbsp;</td>
  <td>&nbsp;</td>
  <td>&nbsp;</td>
</tr>
<tr>
  <td>注册时间:</td>
  <td><input type="text" name="FromDate" size="10" value='<?php echo ((is_array($_tmp=@$_POST['FromDate'])) ? $this->_run_mod_handler('default', true, $_tmp, 'None') : smarty_modifier_default($_tmp, 'None')); ?>
' id="date3" readonly>
<a href="javascript:;" onclick='showCalendar(this, $("date3"), "yyyy-mmmm-dd",null,0,-1,-1)'><img src="<?php echo $this->_tpl_vars['tpl_img_path']; ?>
calendar.gif" border="0" alt=""></a></td>
  <td>到</td>
  <td><input type="text" name="ToDate" size="10" value='<?php echo ((is_array($_tmp=@$_POST['ToDate'])) ? $this->_run_mod_handler('default', true, $_tmp, 'None') : smarty_modifier_default($_tmp, 'None')); ?>
' id="date4" readonly>
<a href="javascript:;" onclick='showCalendar(this, $("date4"), "yyyy-mmmm-dd",null,0,-1,-1)'><img src="<?php echo $this->_tpl_vars['tpl_img_path']; ?>
calendar.gif" border="0" alt=""></a></td>
  <td><input name="search" type="submit" id="search" value="查    询" class="btn_mouseout" onMouseOver="this.className='btn_mouseover'" onMouseOut="this.className='btn_mouseout'"></td>
  <td>&nbsp;</td>
  <td>&nbsp;</td>
</tr>
</tbody>
</form>
</table>

<br />
<!-- 标题 -->
<form name="listfrm" id="listfrm" action="" method="post">
<table width="100%" border="0" cellpadding="0" cellspacing="0" class="tableborder">
<tr class="header" align="center"><td><!--  --></td>
<td><strong>公司名称</strong></td>
<td><span>用户名</span></td>
<td><strong>信用指数</strong></td>
<td><span><strong>审核状态</strong></span></td>
<td><span><strong>所在地区</strong></span></td>
<td><span><strong>加入时间</strong></span></td>
<td><div style="float:right; margin-right:4px; padding-bottom:9px"><img onClick="collapse_change('1')" id="menuimg_1" src="./images/menu_reduce.gif" border="0" style="vertical-align:middle;"/></div></td></tr>
<tbody id="menu_1" style="display: yes">
<?php $_from = $this->_tpl_vars['CompanyList']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }$this->_foreach['companies'] = array('total' => count($_from), 'iteration' => 0);
if ($this->_foreach['companies']['total'] > 0):
    foreach ($_from as $this->_tpl_vars['cl']):
        $this->_foreach['companies']['iteration']++;
?>
<tr bgcolor="<?php echo smarty_function_cycle(array('values' => "#eeeeee,#ffffff"), $this);?>
" align="center">
<td><input name="cid[]" type="checkbox" id="cid_<?php echo $this->_tpl_vars['cl']['CompanyID']; ?>
" onClick="uaCheckItem(this, 'cidAll')" value="<?php echo $this->_tpl_vars['cl']['CompanyID']; ?>
"></td>
<td><label for="cid_<?php echo $this->_tpl_vars['cl']['CompanyID']; ?>
"><?php echo ((is_array($_tmp=$this->_tpl_vars['cl']['CompanyName'])) ? $this->_run_mod_handler('truncate', true, $_tmp, 35) : smarty_modifier_truncate($_tmp, 35)); ?>
</label><?php if ($this->_tpl_vars['cl']['IfCommend'] == 1): ?><img src="<?php echo $this->_tpl_vars['tpl_img_path']; ?>
recommend.gif" /><?php endif; ?></td>
<td><a href="member.php?action=mod&id=<?php echo $this->_tpl_vars['cl']['MemberID']; ?>
" title="<?php echo $this->_tpl_vars['cl']['NickName']; ?>
"><?php echo $this->_tpl_vars['cl']['MemberName']; ?>
</a></td>
<td><?php echo $this->_tpl_vars['cl']['SuranceLevel']; ?>
</td>
<td><?php echo $this->_tpl_vars['Status'][$this->_tpl_vars['cl']['CompanyStatus']]; ?>
</td>
<td><?php echo $this->_tpl_vars['cl']['CompanyProvince']; ?>

  <?php echo $this->_tpl_vars['cl']['CompanyCity']; ?>
</td>
<td><?php echo ((is_array($_tmp=$this->_tpl_vars['cl']['CreateDate'])) ? $this->_run_mod_handler('date_format', true, $_tmp, "%Y-%m-%d") : smarty_modifier_date_format($_tmp, "%Y-%m-%d")); ?>
</td>
<td><a href="company.php?action=mod&id=<?php echo $this->_tpl_vars['cl']['CompanyID']; ?>
"><img src="<?php echo $this->_tpl_vars['tpl_img_path']; ?>
admin/mod.gif" border="0" alt="修改"></a><?php if ($this->_tpl_vars['cl']['MemberName'] != ''): ?>&nbsp;<a href="<?php echo $this->_tpl_vars['SiteUrl']; ?>
space.php?userid=<?php echo $this->_tpl_vars['cl']['MemberName']; ?>
" title="点击浏览<?php echo ((is_array($_tmp=$this->_tpl_vars['cl']['CompanyName'])) ? $this->_run_mod_handler('truncate', true, $_tmp, 55) : smarty_modifier_truncate($_tmp, 55)); ?>
首页" target="_blank"><img src="<?php echo $this->_tpl_vars['tpl_img_path']; ?>
admin/preview.gif" border="0" alt="查看主页"></a><?php endif; ?></td>
</tr>
<?php endforeach; else: ?>
<tr bgcolor="#ffffff">
<td colspan="9">目前没有任何数据</td>
</tr>
<?php endif; unset($_from); ?>
</tbody>
<!-- 操作列表 -->
<tr align="center"><td class="altbg2" colspan="9">
<br />
<div id="bottom_action" class="actions">
<ul>
<li><img src="<?php echo $this->_tpl_vars['tpl_img_path']; ?>
admin/arrow_left.png" border="0" alt="选中项"></li>
<li><input type="checkbox" name="cidAll" id="cidAll" onClick="uaCheckAll(this, 'cid[]')"><label for="cidAll">全选/全不选</label></li>
<li><i>选中项 : </i></li>
<li><input type="image" name="del" src="<?php echo $this->_tpl_vars['tpl_img_path']; ?>
admin/truncate.gif" border="0" alt="删除" onClick="return confirmAction('确定删除吗?');" /></li>
<li><input type="image" name="check[in]" src="<?php echo $this->_tpl_vars['tpl_img_path']; ?>
admin/checked.gif" border="0" alt="审核通过" /></li>
<li><input type="image" name="check[out]" src="<?php echo $this->_tpl_vars['tpl_img_path']; ?>
admin/check_false.gif" border="0" alt="审核不通过" /></li>
<li><input type="image" name="recommend" src="<?php echo $this->_tpl_vars['tpl_img_path']; ?>
recommend.gif" border="0" alt="推荐企业" /></li>
<li><input type="image" name="setvip" src="<?php echo $this->_tpl_vars['tpl_img_path']; ?>
default/star2.gif" border="0" alt="设置为VIP会员" /></li>
</ul>
</div>
</td></tr>
<!-- 分页 -->
<tr align="center"><td class="altbg1" colspan="9"><?php echo $this->_tpl_vars['ByPages']; ?>
</td></tr>
<tr class="header" bgcolor="#ffffff">
<td colspan="7"></td>
<td><div align="center"><a title="返回顶部" href="#top"><img id="go_top" src="./images/go_top.gif" border="0" style="vertical-align:middle;"/></a></div></td>
</tr>
</table>
</form>
</td>
</tr>
</table>
<!-- 结束new -->
</body>
</html>